{% extends 'layout/main.html' %}
{% from 'macros/_macros.html' import form_field %}
{% block content_header %}
<div class="row page-titles">
  <div class="col-md-5 col-8 align-self-center">
    <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="/">首页</a></li>
      <li class="breadcrumb-item"><a href="javascript:void(0)">用户管理</a></li>
      <li class="breadcrumb-item active">更新用户</li>
    </ol>
  </div>
</div>
{% endblock %}

{% block content %}
<div class="card">
  <div class="card-body">
      <form class="form-material" method="post" action="">
        {{ form.csrf_token }}
        {{ form_field(form.nickname, class_='form-control')}}
        {{ form_field(form.new_password, class_='form-control', placeholder='******')}}
        {{ form_field(form.new_password2, class_='form-control', placeholder='******')}}
        {{ form.submit(class_='btn btn-primary') }}
      </form>
  </div>
</div>
{% endblock %}
